home *** CD-ROM | disk | FTP | other *** search
- %TITLE "Shell for *.EXE Code files"
-
- IDEAL
- DOSSEG
- MODEL small
- STACK 256
-
- ;----- Insert INCLUDE "filename" directives here
-
- ;----- Insert EQU and = equates here
-
- DATASEG
-
- exitCode DB 0
-
- ;- IF you want more detailed comments buy the book
-
- CODESEG
-
-
- Start:
- mov ax,@data
- mov ds,ax
- ;--- Insert program, subroutine calls, etc... here
-
- Exit:
- mov ax,04C00h
- mov al,[exitCode]
- int 21h
-
- End Start